package ru.spbau.lifeincube.logic;

/**
 * @author Montsev Mikhail
 *         Date: 12.05.13
 *         Time: 19:03
 */
public class Cell {
    private int x;
    private int y;
    private int z;
    private boolean state;

    public void setCoords(int x, int y, int z) {
        this.x = x;
        this.y = y;
        this.z = z;
    }

    public boolean getState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

    public int getZ() {
        return z;
    }

    public Cell() {
        this.state = false;
        this.x = 0;
        this.y = 0;
        this.z = 0;
    }

    public Cell(int x, int y, int z, boolean state) {
        this.state = state;
        this.x = x;
        this.y = y;
        this.z = z;
    }

}
